﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMS.Seven.Qi.Dto;

namespace WMS.Seven.Qi
{
    public interface ILossReportingService : IApplicationService
    {
        /// <summary>
        /// 获取损耗报告数据
        /// </summary>
        /// <param name="lossReportingDTO"></param>
        /// <returns></returns>
        Task<object> GetLossReportingData(RequestLossReportingDTO lossReportingDTO);
        /// <summary>
        /// 创建损耗报告
        /// </summary>
        /// <param name="createLossReportingDTO"></param>
        /// <returns></returns>
        Task<bool> CreateLossReporting(CreateLossReportingDTO createLossReportingDTO);
        /// <summary>
        /// 更新损耗报告
        /// </summary>
        /// <param name="updateLossReportingDTO"></param>
        /// <returns></returns>
        Task<bool> UpdateLossReporting(UpdateLossReportingDTO updateLossReportingDTO);

        /// <summary>
        /// 删除损耗报告
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteLossReporting(int id);

        /// <summary>
        /// 修改状态
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<int> UpdateStutes(int id);

    }
}
